//C06:ep_6_3.c -- sum of numbers.
#include <stdio.h>

int main(void)
{
    int i = 1, sum = 0;
    do
    {
        sum += i;
        i++;
    }while(i <= 100);
    printf("%d\n", sum);
}